package com.x.provider.general.service.cms;

import com.x.core.web.page.PageList;
import com.x.provider.api.general.model.dto.cms.ContentCreateReqDTO;
import com.x.provider.api.general.model.dto.cms.ContentMyReqDTO;
import com.x.provider.api.general.model.dto.cms.ContentMyTotalReqDTO;
import com.x.provider.api.oss.model.dto.green.ContentGreenResultDTO;
import com.x.provider.general.model.domain.cms.Content;
import com.x.provider.general.model.domain.cms.ContentMedia;
import com.x.provider.general.model.domain.cms.ContentMediaPicture;
import com.x.provider.general.model.domain.cms.ContentMediaVideo;

import java.util.List;
import java.util.Map;

public interface ContentService {
    Long createContent(ContentCreateReqDTO contentCreateReqDTO);
    void onContentReview(ContentGreenResultDTO contentReviewResultDTO);
    PageList<Content> listMyContent(ContentMyReqDTO contentMyReqDTO);
    Map<Integer, Integer> listMyContentTotalCount(ContentMyTotalReqDTO contentMyTotalReqDTO);
    List<ContentMedia> listContentMedia(List<Long> contentIdList);
    List<ContentMediaPicture> listContentMediaPicture(List<Long> contentIdList);
    List<ContentMediaVideo> listContentMediaVideo(List<Long> contentIdList);
    List<Content> listContent(List<Long> idList);
    void  deleteContent(List<Long> idList, Long customerId);
}
